\hypertarget{group___c_o_r_e___exported___functions}{}\section{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}
\label{group___c_o_r_e___exported___functions}\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga249e47165f733672eae3653fcca87829}{b\+Open}} (uint8\+\_\+t dev\+\_\+no, uint8\+\_\+t flag)
\begin{DoxyCompactList}\small\item\em Open a device. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga19ddb6f8ca523b3b28b74ea6a1519e3b}{b\+Read}} (int fd, uint8\+\_\+t $\ast$pdata, uint16\+\_\+t len)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga078b200cdc68be6d562cc1ad323d9381}{b\+Write}} (int fd, uint8\+\_\+t $\ast$pdata, uint16\+\_\+t len)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_gaf0a95eb51c436b56de56cdc63f5dab7c}{b\+Ctl}} (int fd, uint8\+\_\+t cmd, void $\ast$param)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_gad49412624e7b58f0b90ff43e60823eb1}{b\+Lseek}} (int fd, uint32\+\_\+t off)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga2d5143bd4493f8069401bb433939de4f}{b\+Close}} (int fd)
\item 
int \mbox{\hyperlink{group___c_o_r_e___exported___functions_ga2579ab6e79fad3d62796972ab85a14f0}{b\+Core\+Is\+Idle}} (void)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\mbox{\Hypertarget{group___c_o_r_e___exported___functions_ga2d5143bd4493f8069401bb433939de4f}\label{group___c_o_r_e___exported___functions_ga2d5143bd4493f8069401bb433939de4f}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Close@{b\+Close}}
\index{b\+Close@{b\+Close}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Close()}{bClose()}}
{\footnotesize\ttfamily int b\+Close (\begin{DoxyParamCaption}\item[{int}]{fd }\end{DoxyParamCaption})}



Definition at line 265 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX.

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_ga2579ab6e79fad3d62796972ab85a14f0}\label{group___c_o_r_e___exported___functions_ga2579ab6e79fad3d62796972ab85a14f0}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Core\+Is\+Idle@{b\+Core\+Is\+Idle}}
\index{b\+Core\+Is\+Idle@{b\+Core\+Is\+Idle}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Core\+Is\+Idle()}{bCoreIsIdle()}}
{\footnotesize\ttfamily int b\+Core\+Is\+Idle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Definition at line 281 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX.

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_gaf0a95eb51c436b56de56cdc63f5dab7c}\label{group___c_o_r_e___exported___functions_gaf0a95eb51c436b56de56cdc63f5dab7c}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Ctl@{b\+Ctl}}
\index{b\+Ctl@{b\+Ctl}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Ctl()}{bCtl()}}
{\footnotesize\ttfamily int b\+Ctl (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{uint8\+\_\+t}]{cmd,  }\item[{void $\ast$}]{param }\end{DoxyParamCaption})}



Definition at line 254 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX, and b\+Device\+Ctl().

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_gad49412624e7b58f0b90ff43e60823eb1}\label{group___c_o_r_e___exported___functions_gad49412624e7b58f0b90ff43e60823eb1}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Lseek@{b\+Lseek}}
\index{b\+Lseek@{b\+Lseek}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Lseek()}{bLseek()}}
{\footnotesize\ttfamily int b\+Lseek (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{uint32\+\_\+t}]{off }\end{DoxyParamCaption})}



Definition at line 239 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX.

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_ga249e47165f733672eae3653fcca87829}\label{group___c_o_r_e___exported___functions_ga249e47165f733672eae3653fcca87829}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Open@{b\+Open}}
\index{b\+Open@{b\+Open}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Open()}{bOpen()}}
{\footnotesize\ttfamily int b\+Open (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{dev\+\_\+no,  }\item[{uint8\+\_\+t}]{flag }\end{DoxyParamCaption})}



Open a device. 


\begin{DoxyParams}{Parameters}
{\em dev\+\_\+no} & Device Number \\
\hline
{\em flag} & Open Flag \begin{DoxyItemize}
\item \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga9632edfe3a6652c254922f0fc6e4315c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+R}} \item \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga5e134ab3ebc11db6d585cfc1a48aadf0}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+W}} \item \mbox{\hyperlink{group___c_o_r_e___exported___defines_ga0198147efa03609c64760662bd8ea00c}{B\+C\+O\+R\+E\+\_\+\+F\+L\+A\+G\+\_\+\+RW}} \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em Result} & \begin{DoxyItemize}
\item 0 OK \item -\/1 E\+RR \end{DoxyItemize}
\\
\hline
\end{DoxyRetVals}


Definition at line 175 of file b\+\_\+core.\+c.



References I\+S\+\_\+\+V\+A\+L\+I\+D\+\_\+\+F\+L\+AG.

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_ga19ddb6f8ca523b3b28b74ea6a1519e3b}\label{group___c_o_r_e___exported___functions_ga19ddb6f8ca523b3b28b74ea6a1519e3b}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Read@{b\+Read}}
\index{b\+Read@{b\+Read}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Read()}{bRead()}}
{\footnotesize\ttfamily int b\+Read (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{uint8\+\_\+t $\ast$}]{pdata,  }\item[{uint16\+\_\+t}]{len }\end{DoxyParamCaption})}



Definition at line 196 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX, and N\+U\+LL.

\mbox{\Hypertarget{group___c_o_r_e___exported___functions_ga078b200cdc68be6d562cc1ad323d9381}\label{group___c_o_r_e___exported___functions_ga078b200cdc68be6d562cc1ad323d9381}} 
\index{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}!b\+Write@{b\+Write}}
\index{b\+Write@{b\+Write}!C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions@{C\+O\+R\+E\+\_\+\+Exported\+\_\+\+Functions}}
\subsubsection{\texorpdfstring{b\+Write()}{bWrite()}}
{\footnotesize\ttfamily int b\+Write (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{uint8\+\_\+t $\ast$}]{pdata,  }\item[{uint16\+\_\+t}]{len }\end{DoxyParamCaption})}



Definition at line 218 of file b\+\_\+core.\+c.



References B\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+M\+AX, and N\+U\+LL.

